# encoding:utf-8
"""
===============***===============
Auther : Hsir
Date   : 2022 - 11 - 21   14:08
File   : run_test.py
===============***===============
"""
import pytest
import os
from comms.constants import REPORT_JSON, CASE_DIR, REPORT_HTML

if __name__ == '__main__':
    pytest.main(["--alluredir", REPORT_JSON, '--clean-alluredir', CASE_DIR])
    os.system("allure generate {} -o {} --clean".format(REPORT_JSON, REPORT_HTML))
